package vo.z;

import java.util.Date;

public class PrintCreditBean {
	private Integer id;
	private String contractId;
	private Date grantdate;
	private Double grantmoney;
	private Integer grantnum;

	private Date backdate;
	
	//for getContractList
	public PrintCreditBean(Integer id,String contractId,Integer grantnum,Date grantdate,Double grantmoney){
		this.id=id;
		this.contractId=contractId;
		this.grantnum=grantnum;
		this.grantdate=grantdate;
		this.grantmoney=grantmoney;
	}
	
	//for getCreditInterestList
	public PrintCreditBean(Integer id,String contractId,Integer grantnum,Date grantdate,Date backdate){
		this.id=id;
		this.contractId=contractId;
		this.grantnum=grantnum;
		this.grantdate=grantdate;
		this.backdate=backdate;
	}
	
	public PrintCreditBean(Integer id,String contractId,Integer grantnum,Date grantdate,Double grantmoney,Date backdate){
		this.id=id;
		this.contractId=contractId;
		this.grantdate=grantdate;
		this.grantnum=grantnum;
		this.grantmoney=grantmoney;
		this.backdate=backdate;
	}
	
	public String getContractId() {
		return contractId;
	}

	public void setContractId(String contractId) {
		this.contractId = contractId;
	}

	public Date getGrantdate() {
		return grantdate;
	}

	public void setGrantdate(Date grantdate) {
		this.grantdate = grantdate;
	}

	public Double getGrantmoney() {
		return grantmoney;
	}

	public void setGrantmoney(Double grantmoney) {
		this.grantmoney = grantmoney;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}

	public Date getBackdate() {
		return backdate;
	}

	public void setBackdate(Date backdate) {
		this.backdate = backdate;
	}

	public Integer getGrantnum() {
		return grantnum;
	}

	public void setGrantnum(Integer grantnum) {
		this.grantnum = grantnum;
	}
}
